package com.grom.velocity;

import com.grom.constant.FileUtil;
import com.grom.xml.XmlParser;

import java.io.*;

public class ActionCreator extends AbstractCreator {
	private XmlParser parser = null;

	public ActionCreator(XmlParser parser) {
		this.parser = parser;
	}

	public File getTargetFile(String templateFile) {
		return new File(FileUtil.getCurrentProjectAbsolutePath() + "/src/com/grom/action/" + parser.getClassName()
				+ "Action.java");
	}
}
